package com.baigt.jvm.other;

import lombok.Cleanup;

/**
 * 类功能描述:
 *
 * @author baigt
 * @version V1.0
 * @since 2019-06-15 11:33
 */
public class Test {
    public static void main1(String[] args) {
        //AppClassLoader 扫描路径
        System.out.println(System.getProperty("java.class.path"));
        // extClassLoader 扫描路径
        System.out.println(System.getProperty("java.ext.dirs"));
       // bootstrapClassLoader 扫描路径
        System.out.println(System.getProperty("sun.boot.class.path"));
    }




    public static void main(String[] args)throws Exception {
        Test test=new Test();
        test.test();
        System.out.println("end");
    }
    public  void test(){
        @Cleanup
        CloseDemo closeDemo=new CloseDemo();
    }
}
